package com.HMS.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.HMS.dao.UserDao;
import com.HMS.pojo.User;
@Service
public class UserService {
	@Resource
	private UserDao userDao;
	@Transactional
	public Boolean userRegister(User user){
	    return	userDao.insert(user);
	}
}
